<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Test_for_session extends CI_Controller {

	function __construct()
	{
		parent::__construct();
		$this->load->helper('url');
		$this->load->database();
		$this->load->library('session');
	}

	public function index()
	{

		$this->load->library('Transaction', array ('tr_table'=>'foria_pages'));
		
		/*
		$id = rand (1, 1000);
		$this->transaction->insert ('Operation '.$id, $id, 'JSON '.$id);
		*/
		$lmtime = 1325105289.47;
		$data = $this->transaction->fetch($lmtime);
		print "<pre>";
		print_r ($data);
		
		//print "$id";
	}
	
}